package com.gxa.mapper;

import com.gxa.entity.SysSubMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysSubMenuMapper {
    /**
     * 根据父ID获取子菜单list
     *
     * @param pid 父ID
     * @return 子菜单列表
     */
    List<SysSubMenu> getSubmenuByPid(@Param("pid") Integer pid);
}
